package org.jeecg.modules.inspection.service;

import com.alibaba.fastjson.JSONObject;
import org.jeecg.modules.inspection.entity.Accept;

import org.jeecg.modules.inspection.entity.PinspectionException;
import org.jeecg.modules.inspection.entity.PinspectionItem;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: 巡检运行检查项目
 * @Author: jeecg-boot
 * @Date:   2019-09-26
 * @Version: V1.0
 */
public interface IPinspectionItemService extends IService<PinspectionItem> {

    Integer updateBatch(List<PinspectionItem> items);
    List<PinspectionItem> selectByProcessId(String processId);
    List<Accept> selectExceptionItemByProjectId();
    String selectProjectName(String projectName);


    Integer updateStatus(String processItemId);

    List<PinspectionException> queryExistExpection(String processItemId);

    void updateNormal(String processItemId);
}
